<?php
/**
 *  HttpController
 */

namespace App\HttpController;

use EasySwoole\Http\AbstractInterface\AbstractRouter;
use EasySwoole\Http\Request;
use EasySwoole\Http\Response;
use FastRoute\RouteCollector;

/**
 * Router
 */
class Router extends AbstractRouter
{
    /**
     * Initialize
     *
     * @param RouteCollector $routeCollector route
     * 
     * @return void
     */
    function initialize(RouteCollector $routeCollector)
    {
        $routeCollector->get('/a', '/Index/a');
        $routeCollector->get('/auth/test', '/Auth/test');
    }
}
